package com.dkd.manage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;

/**
 * 资产组件对象 tb_channel
 * 
 * @author zqy
 * @date 2024-12-25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Parties extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 组件编号 */
    @Excel(name = "组件编号")
    private String channelCode;

    /** 商品Id */
    @Excel(name = "商品Id")
    private Long skuId;

    /** 资产Id */
    @Excel(name = "资产Id")
    private Long vmId;

    /** 设备机软编号 */
    @Excel(name = "设备机软编号")
    private String innerCode;

    /** 最大存储容量 */
    @Excel(name = "最大存储容量")
    private Long maxCapacity;

    /** 当前存储容量 */
    @Excel(name = "当前存储容量")
    private Long currentCapacity;

    /** 上次维修时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上次维修时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastSupplyTime;


}
